/api/user/tags/:id
View, update, or delete a specific tag owned by the currently authenticated user.
Info
This endpoint requires authentication.
Path Parameters
Name | Type | Description |
---|---|---|
id | string | The unique ID of the tag |
GET Request
Get a specific tag by its ID.
Response
Status: 200 OK
Content-Type: application/json
A Tag object.
PATCH Request
Update a specific tag.
Body
Content-Type: application/json
Property | Type | Description |
---|---|---|
name | string | Name for the tag. |
color | string | Color for the tag (HEX). |
Response
Status: 200 OK
Content-Type: application/json
A Tag object.
Error Responses
-
400 Bad Request
The new name is already in use
DELETE Request
Delete a specific tag.
Response
Status: 200 OK
Content-Type: application/json
A Tag object representing the deleted tag.
Error Responses
-
404 Not Found
If the tag with the specified ID does not exist, or is not owned by the user.
/api/user/tags
View or create tags that are assigned to files.
/api/user/mfa/passkey
Manage WebAuthn passkeys.
Last updated: 5/30/2025
Edit this page on GitHub